package com.mybatis.lo.io;

import java.io.InputStream;

/**
 * 负责读取Classpath环境下的资源
 * @author zhangbh
 * 2023-06-15 08:31
 **/
public class ClassPathResources implements Resources {

    @Override
    public InputStream getResourceAsStream(String location) {
        return this.getClass().getClassLoader().getResourceAsStream(location);
    }
}
